{
  "version": "0.0.1",
  "type": "action",
  "name": "weaviate demo actions schema",
  "maintainer": "yourfriends@weaviate.com",
  "classes": [
    {
      "class": "Flight",
      "description": "An airline flight",
      "properties": [
        {
          "name": "aircraft",
          "dataType": ["Aircraft"],
          "description": "The kind of aircraft"
        },
        {
          "name": "arrivalAirport",
          "dataType": ["Airport"],
          "description": "The airport where the flight terminates"
        },
        {
          "name": "departureAirport",
          "dataType": ["Airport"],
          "description": "The airport where the flight originates."
        },
        {
          "name": "flightNumber",
          "dataType": ["string"],
          "description": "The unique identifier for a flight"
        },
        {
          "name": "date",
          "dataType": ["date"],
          "description": "The date the person is moving"
        },
        {
          "name": "estimatedFlightDuration",
          "dataType": ["number"],
          "description": "The estimated time in minutes the flight will take"
        },
        {
          "name": "numberOfPassengers",
          "dataType": ["int"],
          "description": "Total number of passengers"
        },
        {
          "name": "isDelayed",
          "dataType": ["boolean"],
          "description": "True if the flight is delayed"
        }
      ]
    },
    {
      "class": "BuyAction",
      "description": "An agent buys an object, product, or service from a seller for a price.",
      "properties": [
        {
          "name": "salesPerson",
          "dataType": ["Airline", "Person"],
          "description": "The seller of the thing",
          "keywords": [
            {"keyword": "sale", "weight": 0.5},
            {"keyword": "person", "weight": 0.5}
          ]
        },
        {
          "name": "price",
          "dataType": ["number"],
          "description": "The offer price of a product"
        },
        {
          "name": "recipient",
          "dataType": ["Person"],
          "description": "The recipient of the good",
          "keywords": [
            {"keyword": "buy", "weight": 0.5},
            {"keyword": "person", "weight": 0.5}
          ]
        }
      ]
    },
    {
      "class": "Event",
      "description": "Event is used to replicate bugs and prevent regressions for the fixes mentioned in gh-824",
      "properties": [
        {
          "name": "name",
          "dataType": ["string"],
          "description": "The name of the event"
        },
        {
          "name": "description",
          "dataType": ["text"],
          "description": "The description of the event"
        }
      ]
    }
  ]
}
